import request from "../utils/request";
export default {

  getUserList(data) {
    return request.post("/api/decagency/user/getSysUserList", data);
  },

  deleteUsers(ids){
    return request.post("/api/decagency/user/delSysUser", ids);
  },
  addUser(data){
    return request.post("/api/decagency/user/addSysUser", data);
  },
  editUser(data){
    return request.post("/api/decagency/user/editSysUser", data);
  },
  getByKey(id){
    return request.post("/api/decagency/user/getByKey", id);
  },
  getUserInfo(id){
    return request.post("/api/decagency/user/getUserInfo", id);
  }
};
